﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace XDesigner.Development.Controls
{
    public class CopyOptions
    {
        public CopyOptions()
        {
        }

        private CopyType _Type = CopyType.Solution;
        [DefaultValue( CopyType.Solution )]
        public CopyType Type
        {
            get { return _Type; }
            set { _Type = value; }
        }

        private string _OutputDirectory = null;
        [DefaultValue( null )]
        public string OutputDirectory
        {
            get { return _OutputDirectory; }
            set { _OutputDirectory = value; }
        }

        private bool _RemoveVSSInfo = true;
        [DefaultValue( true )]
        public bool RemoveVSSInfo
        {
            get { return _RemoveVSSInfo; }
            set { _RemoveVSSInfo = value; }
        }

        private bool _ResetFileAttribute = true;
        [DefaultValue( true )]
        public bool ResetFileAttribute
        {
            get { return _ResetFileAttribute; }
            set { _ResetFileAttribute = value; }
        }

        private bool _ClearOutputDirectory = true;
        [DefaultValue( true )]
        public bool ClearOutputDirectory
        {
            get { return _ClearOutputDirectory; }
            set { _ClearOutputDirectory = value; }
        }

        private bool _RemoveCommment = false ;
        [DefaultValue( false )]
        public bool RemoveCommment
        {
            get { return _RemoveCommment; }
            set { _RemoveCommment = value; }
        }

        private bool _PreserveDocumentComment = false;
        [DefaultValue( false )]
        public bool PreserveDocumentComment
        {
            get { return _PreserveDocumentComment; }
            set { _PreserveDocumentComment = value; }
        }

        private string _HeaderComment = null;
        [DefaultValue( null )]
        public string HeaderComment
        {
            get { return _HeaderComment; }
            set { _HeaderComment = value; }
        }
    }

    public enum CopyType
    {
        Solution,
        Project
    }
}
